<?php

namespace app\admin\validate;

use think\Validate;

class UserValidate extends Validate
{
	protected $rule =   [
		'username'  => 'unique:admin',
	];
	
	protected $message  =   [
		'username.unique' => '管理员已经存在',
	];
}